package common;

import java.io.Serializable;
import java.util.Date;

import bedside.VitalSign;

/**
 * Stores the type, time, and reading of a vital sign.  This class exists 
 * so that the VitalSignBuffer can send out all different types of vital 
 * signs in a single collection.  It may be replaced by a better solution.
 * 
 * @author exl2878
 */
public class VitalSignUpdate implements Serializable {

	public final VitalSign type;
	public final Date time;
	public final String reading;
	
	public VitalSignUpdate( VitalSign type, Date time, String reading ) {
		this.type = type;
		this.time = time;
		this.reading = reading;
	}
}
